﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GMusicBox.Core
{   
    public sealed class Artist
    {
        public Artist()
        {
            Id = "";
            Name = "";
        }

        public Artist(string id, string name)
        {
            Id = id;
            Name = name;
        }

        public static string GetArtistsString(Artist[] artists)
        {
            string artist = "";
            foreach (Artist a in artists) artist += a.Name + " ";
            return artist.Trim();
        }

        public string Id { get; set; }
        public string Name { get; set; }
        
        public override string ToString()
        {
            return Name;
        }
    }
}
